package org.hy.persistence.mypage;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.hy.domain.mypage.MyTreasure;

public interface MyTreasureMapper {
	MyTreasure findMyTreasureById(Integer id);
	
	List<MyTreasure> findMyTreasureByUid(@Param("uid") int uid,@Param("offset")int offset,@Param("size")int size);
	
	int deleteMyTreasure(Integer id);
	
	int updateMyTreasure(MyTreasure myTreasure);
	
	int insertMyTreasure(MyTreasure myTreasure);
	
	int countMyTreasure(Integer uid);
}
